home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 20 / Cream of the Crop 20 (Terry Blount) (1996).iso / virus / fd53dos.zip / FDMCI.DOC < prev    next >
Text File  |  1996-05-25  |  5KB  |  135 lines

  1.  
  2.         FileDude 5.3                                           MCI codes
  3.         ================================================================
  4.  
  5.         TEMPLATE FILES
  6.  
  7.         The template files FileDude uses to contruct the filelist are:
  8.  
  9.         HEADER.ASC      At the beginning of the filelist.
  10.         PREBODY.ASC     Before a file area.
  11.  
  12.         ERROR.ASC       Shows up if FileDude cannot process a certain
  13.                         file area (i.e. when there is no SHARE
  14.                         permission.)
  15.  
  16.         BODY.ASC        Each entry in the file area.
  17.         EXTBODYx.ASC    For entry with 'x' number of extended
  18.                         description lines, where 'x' ranges 1 to 9.
  19.         BODYINFO.ASC    Extra information for a file entry, such as
  20.                         the number of credits, downloads, etc.
  21.  
  22.         POSTBODY.ASC    After a file area.
  23.         FOOTER.ASC      At the end of the filelist.
  24.  
  25.         FILE_ID.ASC     If FileDude compresses your filelist, it will
  26.                         insert a FILE_ID.DIZ in the archive using this
  27.                         file as a template.
  28.  
  29.  
  30.         MCI CODES
  31.  
  32.         The below MCI codes are valid in only certain template files.
  33.  
  34.         MCI   SIZE  TEMPLATE      DESCRIPTION
  35.         ---   ----  ------------  --------------------------------------
  36.         %DA   8     HEADER.ASC    date of the filelist in format:
  37.                     FOOTER.ASC    xx/xx/xx
  38.                     FILE_ID.ASC
  39.  
  40.         %BN   40    HEADER.ASC    BBS name
  41.                     FOOTER.ASC
  42.                     FILE_ID.ASC
  43.  
  44.         %BP   12    HEADER.ASC    BBS phone number in format:
  45.                     FOOTER.ASC    xxx-xxx-xxx
  46.                     FILE_ID.ASC
  47.  
  48.         %SN   30    HEADER.ASC    Sysop's name
  49.                     FOOTER.ASC
  50.                     FILE_ID.ASC
  51.  
  52.         %FB   40    <any>         Full name of the current file area
  53.  
  54.         %F1   13    FOOTER.ASC    Total bytes in all areas shown
  55.                     FILE_ID.ASC
  56.         %F1K  13    FOOTER.ASC    Total kilobytes in all areas shown
  57.                     FILE_ID.ASC
  58.  
  59.         %F2   13    FOOTER.ASC    Total files in all areas shown
  60.                     FILE_ID.ASC
  61.  
  62.         %F3   6     FOOTER.ASC    Total directories shown
  63.                     FILE_ID.ASC
  64.  
  65.         %F4   13    POSTBODY.ASC  Total bytes in current file area
  66.         %F4K  13    POSTBODY.ASC  Total kilobytes in current file area
  67.  
  68.         %F5   6     POSTBODY.ASC  Total files processed in the current
  69.                                   file area
  70.  
  71.         %F6   12    BODY.ASC      Name of current file
  72.  
  73.         %F7   7     BODY.ASC      Size of current file ("k" on end)
  74.  
  75.         %F8   60    BODY.ASC      Main (line 1) description of current
  76.                                   file
  77.  
  78.         %FEx  50    EXTBODYx.ASC  For entry with 'x' number of extended
  79.                                   description lines, where 'x' ranges 1
  80.                                   to 9.
  81.  
  82.         %FC   6     BODYINFO.ASC  Number of credits required for file
  83.  
  84.         %FD   8     BODYINFO.ASC  Date of file entry
  85.                     BODY.ASC
  86.                     EXTBODYx.ASC
  87.  
  88.         %F9   6     BODYINFO.ASC  Number of downloads of a file
  89.  
  90.  
  91.         In addition FileDude can choose between a single and plural
  92.         form of a word.  The syntax is:
  93.  
  94.         %[singular/plural]
  95.  
  96.         The following would choose between "directory" and
  97.         "directories", depending on the value of %F3 (number of
  98.         directories processed):
  99.  
  100.         %F3 %[directory/directories]
  101.  
  102.         The value on which the decision is based must be a numeral
  103.         value, such as 1 or 42, not "one" or "forty-two".
  104.  
  105.  
  106.         FORMATTING
  107.  
  108.         After an MCI code, the following formatting options are
  109.         available:
  110.  
  111.         #x -- Sets the width to 'x'.  If the MCI string is not long
  112.               enough to fill the width, it is padded with spaces to
  113.               'x' length.  'x' can be any integer between -32,767 to
  114.               32,767, inclusive.
  115.  
  116.               A positive width is for RIGHT JUSTIFICATION.
  117.               A negative width is for LEFT JUSTIFICATION.
  118.  
  119.         :x -- Set the precision to 'x'.  If the MCI string is longer
  120.               than the precision, the string is truncated to 'x'
  121.               length.  'x' can be any positive integer up to 32,767.
  122.  
  123.  
  124.         Here are some examples (with tab marks every 5 spaces to help):
  125.  
  126.         ORIGINAL STRING    MCI CODING          OUTPUT
  127.         ---------------    ----------------    ----|----|----|----|
  128.         10/29/94           Today is %DA#10!    Today is   10/29/94!
  129.         Mr. Ed's Corner    BBS: %BN#10:5       BBS:      Mr. E
  130.         12:04:06           Time: %TI#-7:5am    Time: 12:04  am
  131.  
  132.  
  133.  
  134.         [End-of-file]
  135.